#ifndef LOOK_H_
#define LOOK_H_

#include <vector>
#include <queue>
#include "Position.h"
#include "Requisition.h"
#include "Scheduler.h"
#include "Disk.h"

class Look : public Scheduler
{
public:
	Look(int nT, Disk * d);
	virtual ~Look();
	void enqueue(Requisition pos);
	Requisition next(Position pos);
	bool isEmpty() {
		std::vector< std::queue<Requisition> *>::iterator it;
		for (it = diskList.begin(); it != diskList.end(); it++) {
			if (!(*it)->empty())
				return false;
		}
		return true;
	}
	bool goingUP;
	int curTrack;
	int numTracks;
	
private:
	std::vector< std::queue<Requisition> *> diskList;
	Disk * disk;
};

#endif /*LOOK_H_*/
